/* 
 * File:   binarytree.h
 * Author: jorisgirardot
 *
 * Created on 20 décembre 2012, 22:40
 */

#ifndef BINARYTREE_H
#define	BINARYTREE_H
#include <stdio.h>
#include <stdlib.h>

typedef struct BinaryTree_
{
    int value;
    struct BinaryTree_ *Left;
    struct BinaryTree_ *Right;
}BinaryTree;


/* Préprocesseurs */
BinaryTree* binaryTree_createNode(int val);
int binaryTree_isEmpty(BinaryTree *tree);
void binaryTree_preorderTraversal(BinaryTree  *tree);
void binaryTree_inorderTraversal(BinaryTree *tree);
void binaryTree_postorderTraversal(BinaryTree *tree);
void binaryTree_breadthTraversal(BinaryTree *tree);


#endif	/* BINARYTREE_H */

